﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ACGN.Core.Models
{
    public class Login
    {
        [Key]
        public int LId { get; set; }
        [Display(Name = "昵称")]
        [Required(ErrorMessage = "姓名不能为空")]
        public string LName { get; set; }
        [Display(Name = "密码")]
        [Required(ErrorMessage = "密码不能为空")]
        public string Pwd { get; set; }
        [Display(Name = "头像")]
        [Required(ErrorMessage = "密码不能为空")]
        public string Avatar { get; set; }
        public int Mid { get; set; }
    }
}
